<include file="header" />
<if condition="$step gt 0">
<div class="main">
<h2 class="title">{:L('env_check')}</h2>
<table class="tb" style="margin:20px 0 20px 55px;">
<tr>
	<th>{:L('project')}</th>
	<th class="padleft">{:L('ikphp_required')}</th>
	<th class="padleft">{:L('ikphp_best')}</th>
	<th class="padleft">{:L('curr_server')}</th>
</tr>
{$env_str}
</table>
<h2 class="title">{:L('priv_check')}</h2>
<table class="tb" style="margin:20px 0 20px 55px;width:90%;">

<tr>
	<th>{:L('step1_file')}</th>
	<th class="padleft">{:L('step1_need_status')}</th>
	<th class="padleft">{:L('step1_status')}</th>
</tr>

{$file_str}
{$dir_str}
</table>
<h2 class="title">{:L('func_depend')}</h2>
<table class="tb" style="margin:20px 0 20px 55px;width:90%;">
<tr>
	<th>{:L('func_name')}</th>
	<th class="padleft">{:L('check_result')}</th>
	<th class="padleft">{:L('suggestion')}</th>
</tr>
{$func_str}
{$func_strextra}
</table>
<form action="{:U('index/index')}" method="get" id="form">
<input name="step" value="2" type="hidden">
<div class="btnbox marginbot">
<input class="btn" onclick="document.getElementById('form').step.value='1';document.getElementById('form').submit();return false;" value="{:L('checkevn_step')}" type="button"><input class="btn" value="{:L('new_step')}" type="submit">
</div>
</form>
	<div class="footer">&copy;{$IKPHP.IKPHP_YEAR} <a href="http://www.ikphp.com/">IKPHP.COM</a> Inc.</div>
	
</div>


<else/>
<div class="main" style="margin-top:-123px;">
	<div class="licenseblock">
       {:L('license')}
    </div>
    <div class="btnbox marginbot">
		<form method="get" autocomplete="off" action="{:U('index/index')}">
        <input name="step" value="1" type="hidden">
		<input type="submit" name="submit" value="{:L('agreement_yes')}" class="btn">&nbsp;
		</form>
	</div>
    <div class="footer">&copy;{$IKPHP.IKPHP_YEAR} <a href="http://www.ikphp.com/">IKPHP.COM</a> Inc.</div>
</div>
</if>


<include file="footer" />